package jbl.model;

import java.sql.Timestamp;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * Tkf entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tda_log", catalog = "jbldangl")
public class Tda_log implements java.io.Serializable {

	private String id;
	private Tda tda;
	
	private Tuser tuser;
	private Tuser tuser1;
	
	private Code_zt zt;
	private String bz;
	private String flag;
	private Timestamp cjsj;
	private Date editsj;
	private String bz1;
	
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 50)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "bz", length = 200)
	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}

	@Column(name = "cjsj", length = 11)
	public Timestamp getCjsj() {
		return cjsj;
	}

	public void setCjsj(Timestamp cjsj) {
		this.cjsj = cjsj;
	}
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "addUserID")
	public Tuser getTuser() {
		return tuser;
	}

	public void setTuser(Tuser tuser) {
		this.tuser = tuser;
	}
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "editUserID")
	public Tuser getTuser1() {
		return tuser1;
	}
	public void setTuser1(Tuser tuser1) {
		this.tuser1 = tuser1;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "ztId")
	public Code_zt getZt() {
		return zt;
	}

	public void setZt(Code_zt zt) {
		this.zt = zt;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "daId")
	public Tda getTda() {
		return tda;
	}

	public void setTda(Tda tda) {
		this.tda = tda;
	}

	@Column(name = "editsj", length = 11)
	public Date getEditsj() {
		return editsj;
	}

	public void setEditsj(Date editsj) {
		this.editsj = editsj;
	}
	@Column(name = "flag", length = 5)
	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	@Column(name = "bz1", length = 200)
	public String getBz1() {
		return bz1;
	}

	public void setBz1(String bz1) {
		this.bz1 = bz1;
	}
	
}